<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .top {
            width: 308px;
            border: 1px rgba(168, 117, 117, 0.5) solid;
            margin: 0 auto;
        }

        .title-top {
            height: 30px;
            display: flex;
            align-items: center;
            font-weight: bold;
            padding-left: 15px;
        }

        .title-list {
            margin: 0 14px;
            display: grid;
            height: 352px;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(4, 1fr);
            grid-template-areas:
                "a1 a3 a3"
                "a2 a3 a3"
                "a4 a4 a5"
                "a6 a7 a7";
            gap: 8px;
        }

        .title-list div:nth-of-type(1) {
            grid-area: a1;
        }

        .title-list div:nth-of-type(2) {
            grid-area: a2;
        }

        .title-list div:nth-of-type(3) {
            grid-area: a3;
        }

        .title-list div:nth-of-type(4) {
            grid-area: a4;
        }

        .title-list div:nth-of-type(5) {
            grid-area: a5;
        }

        .title-list div:nth-of-type(6) {
            grid-area: a6;
        }

        .title-list div:nth-of-type(7) {
            grid-area: a7;
        }

        .top-page {
            display: flex;
            justify-content: flex-end;
            margin: 0 10px;
            align-items: center;
            height: 40px;
        }

        .top-page a {
            font-size: 14px;
            color: #187fe6;
            text-decoration: none;
            border: 1px solid rgba(168, 117, 117, 0.5);
            padding: 2px 7px;
            margin-left: 10px;
        }

        .top-page span {
            color: #333;
        }

        .title-list a {
            width: 100%;
            height: 100%;
            display: block;
            line-height: 30px;
            font-size: 14px;
            color: #fff;
            text-decoration: none;
        }

        .title-list h3 {
            text-align: right;
            margin-right: 4px;
        }

        .title-list p {
            text-align: center;
        }

        .theme1 {
            background-image: linear-gradient(#187fe6, #32aff2);
            border: 1px #2a9adc solid;
        }

        .theme2 {
            background-image: linear-gradient(#f2246c, #fe5bac);
            border: 1px #da2061 solid;
        }

        .theme3 {
            background-image: linear-gradient(#d46300, #e5ad1c);
            order: 1px #cd9818 solid;
        }
    </style>
</head>

<body>
    <div class="top">
        <div class="title-top">今日上榜</div>
        <div class="title-list">
            <div class="theme1">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme2">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme1">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme1">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme1">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme3">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
            <div class="theme3">
                <a href="#">
                    <h3>时事热点</h3>
                    <p>阿里第一颗心</p>
                </a>
            </div>
        </div>
        <div class="top-page">
            <span>1</span>
            <a href="#">2</a>
            <a href="#">3</a>
        </div>
    </div>
</body>

</html>